package com.nageoffer.shortlink.admin.dao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nageoffer.shortlink.admin.common.database.BaseDO;
import lombok.*;

/**
 * 短链接分组
 *
 * @author Albert
 * @since 2025-10-02 20:18:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_group")
public class GroupDO extends BaseDO {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 分组id
     */
    private String gid;

    /**
     * 分组名称
     */
    private String name;

    /**
     * 用户名
     */
    private String username;

    /**
     * 排序
     */
    private Integer sortOrder;
}
